<?php
/**
 * Created by b17
 * 2/9/12 8:12 PM
 */

class Admin_IndexController extends G4T_AdminController
{
    /**
     * Загрузка фоток с tinymce.
     */
    public function photoAction()
    {
        $this->_helper->layout->disablelayout();
        $fileUploader = new \Managers\TinyMce\ImageUploader();
        $result = $fileUploader->handle($_FILES);
        $this->view->result = $result;
    }
}

